.video-rotate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  margin-right: 8px;
  border-radius: 4px;
  background-color: #f4f4f4;
  color: #505050;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-rotate-btn:hover {
  background-color: #e5e5e5;
}

.video-rotate-btn.active {
  background-color: #00AEEC;
  color: white;
}

/* 确保视频旋转时保持在视口中心 */
.bpx-player-video-wrap video {
  transform-origin: center center;
  transition: transform 0.3s ease;
}
